package com.fita.tencent.rao;

import java.util.Map;

import com.demo2do.core.entity.result.HttpResult;
import com.demo2do.core.http.HttpMethod;
import com.demo2do.core.http.annotation.Rao;
import com.demo2do.core.http.annotation.RaoBody;
import com.demo2do.core.http.annotation.RaoConfig;
import com.demo2do.core.http.annotation.RaoMapping;
import com.demo2do.core.http.annotation.RaoParam;

/**
 * 
 * @author mohanlan
 *
 */
@Rao
public interface WeappNoticeRao {
	
	/**
	 * 
	 * @param accessToken
	 * @param params
	 * @return
	 */
	@RaoConfig(code = "errcode", message = "errmsg", parse = true)
    @RaoMapping(value = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send", method = HttpMethod.POST)
    public HttpResult send(@RaoParam("access_token") String accessToken, @RaoBody Map<String, Object> params);
	
}
